using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Comteck.Winforms.Infrastructure.ToExcel.Attributes {
  /// <summary>
  /// HeaderName标签，当不想以属性名为表头信息的时候，可以使用此标签来自己指定
  /// <see cref="https://gitee.com/godenSpirit/mto-excel/blob/master/MToExcel/Attributes/HeaderName.cs"/>
  /// </summary>
  [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
  public class HeaderNameAttribute : Attribute {
    public HeaderNameAttribute(string name) {
      this.HeaderName = name;
    }

    public string HeaderName { get; }
  }
}
